package cn.kill.orderservice.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 张在成
 */
@Table(name = "pay_order")
@Data
public class PayOrder implements Serializable {

    /**
     * 主键自增
     */
     @Id
     @Column(name = "id")
     private  Integer id;

    /**
     * 订单号
     */
    @Column(name = "order_no")
     private  String orderNo;

    /**
     * 订单名字
     */
    @Column(name = "body")
     private  String body;

    /**
     * 订单价格
     */
    @Column(name = "money")

     private  Double  money;

    /**
     * 订单状态
     */
    @Column(name = "status")
    private  Integer status;

    /**
     * 微信付款单号
     */
    @Column(name = "pay_no")
    private String  payNo;

    /**
     * 微信付款时间
     */
    @Column(name = "pay_time")
    private String payTime;
}
